package com.ssy.lingxi.logistics.api.dto.request;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author wyx
 * @version 2.0.0
 * @date 2021-12-14
 */
@Setter
@Getter
public class LogisticsCompanyAddRequest implements Serializable {
    private static final long serialVersionUID = 7481106512261408270L;
    /**
     * 会员id
     */
    @NotNull(message = "会员id不能为空")
    private Long memberId;

    /**
     * 角色id
     */
    @NotNull(message = "角色id不能为空")
    private Long roleId;
}
